Skip to content

Conversation

tari
Copy link
Contributor

@tari tari commented Sep 5, 2014

std::slice exported ref_slice but not mut_ref_slice. This change makes it export both.

bors added a commit that referenced this pull request Sep 6, 2014
`std::slice` exported `ref_slice` but not `mut_ref_slice`. This change makes it export both.
@bors bors closed this Sep 6, 2014
@bors bors merged commit 0b53cc5 into rust-lang:master Sep 6, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 7, 2024
internal: Consider ADT generic parameter defaults for unsubstituted layout calculations

For one, this brings back layout information for lifetime generic ADTs (which "regressed" when we started adding lifetimes to chalks-ir), but it also allows layout calculation to work for definitions that don't actually use the generics (where its only used in a `PhantomData` for example)
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
internal: Consider ADT generic parameter defaults for unsubstituted layout calculations

For one, this brings back layout information for lifetime generic ADTs (which "regressed" when we started adding lifetimes to chalks-ir), but it also allows layout calculation to work for definitions that don't actually use the generics (where its only used in a `PhantomData` for example)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants